/**
 * 所有参数值是undefined的参数为不确定参数，需要调用时传入，
 * 调用时只传不确定的参数
 */
export default {
  // 设置标题
  title: {
    action: "setTitle",
    content: { title: undefined }
  },
  // 禁app声音
  mute: { action: "onClickPlay", content: {} },
  // 跳转登录
  login: { action: "goToLogin", content: {} },
  // 上传视频
  uploadFile: { action: "uploadAFile", content: {} },
  // 上传图片
  uploadImage: {
    action: "uploadImage",
    content: { actType: "feedback" }
  },
  // 返回首页
  backHome: { action: "returnHomePage", content: {} },
  // 跳转首页（带参）
  toHome: {
    action: "tohomePage",
    content: {
      programId: undefined
    }
  },
  // 跳转到app某个页面
  toAppPage: {
    action: "toAppPage",
    content: {
      pageName: "1",
      parameter: undefined
    }
  },
  // 跳转app直播间
  toliveRoom: {
    action: "toliveRoom",
    content: {
      number: undefined,
      isLive: "1"
    }
  },
  // 支付
  pay: {
    action: "payBridge",
    content: {
      type: undefined, //微信:weChatPay  支付宝:aliPay
      data: undefined //支付信息
    }
  },
  // 获取app信息
  getParameter: {
    action: "getParameter",
    content: {
      method: undefined,
      Parameter: {}
    }
  }
};
